package com.soft.collateral.service;

import com.soft.collateral.entity.Roles;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 用户职能表 服务类
 * </p>
 *
 * @author liubin
 * @since 2025-07-25
 */
public interface RolesService extends IService<Roles> {

    List<Integer> getRolesByUserId(int userId);

    boolean deleteById(Integer id);


}
